// out: ../css/
@import './base';
@vw: 3.75vw;
body{
    background-color: #ffffff;
}
// header
header {
    width: 100%;
    height: (50 / @vw);
    // fixed布局脱离标准流，不占布局的位置
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 (15 / @vw);
    background-color: #f2f2f2;
    width: 100%;
    height: (50 / @vw);
    .collect {
        display: block;
        width: (235 / @vw);
        height: (50 / @vw);
    }
    img{
        width: 100%;
        height: 100%;
    }
    .right {
        width: (80 / @vw);
        height: (30 / @vw);
        background-color: #fadf39;
        border-radius: (15 / @vw);
        text-align: center;
        line-height: (30 / @vw);
    }
}
// 搜索
.search {
    padding: (10 / @vw);
    height: (52 / @vw);
    .txt {
        height: (32 / @vw);
        background-color: #f1f1f1;
        border-radius: (16 / @vw);
        text-align: center;
        line-height: (32 / @vw);
        margin-top: (50 / @vw);
        color: #a1a4b3;
        font-size: (14 / @vw);
        .iconfont {
            font-size: (16 / @vw);
        }
    }
}
// banner
.banner {
    padding: 0 (15 / @vw);
    height: (108 / @vw);
    margin-top: (50 / @vw);
    ul {
        li{
            width: (345 / @vw);
            height: (108 / @vw);
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: (5 / @vw);
            }
        }
    }
}
// 排行榜
.list {
    margin-top: (20 / @vw);
    padding: 0 (15 / @vw);
    li {
        display: flex;
        margin-bottom: (20 / @vw);
        height: (110 / @vw);
        border-radius: (15 / @vw);
        background-color: #f1f1f1;
        .pic {
            margin-right: (20 / @vw);
            img {
                width: (110 / @vw);
                height: (110 / @vw);
                border-radius: (15 / @vw);
            }
        }
        .txt {
            a {
                display: block;
                font-size: (12 / @vw);
                color: #a1a4b3;
                line-height: 2;
            }
            .more {
                font-size: (14 / @vw);
                color: #333;
                .iconfont {
                    font-size: (16 / @vw);
                }
            }
        }
    }
}
// 标题 公共样式
.title {
    display: flex;
    justify-content: space-between;
    margin-bottom: (20 / @vw);
    line-height: (30 / @vw);
    h3 {
        font-size: 30 / @vw;
    }
    a {
        font-size: (12 / @vw);
        color: #cccdcd;
    }
}
// 推荐歌单
.recommend {
    padding: 0 (15 / @vw);
    ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        li {
            margin-bottom: (50 / @vw);
            width: (110 / @vw);
            height: (110 / @vw);
            // 图片
            .pic {
                position: relative;
                width: (110 / @vw);
                height: (110 / @vw);
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: (10 / @vw);
                    
                }
                .cover {
                    position: absolute;
                    left: 0;
                    bottom: 0;
                    width: (70 / @vw);
                    height: (28 / @vw);
                    background-color: rgba(0, 0, 0, 0.8);
                    border-radius: 0 (10 / @vw) 0 (10 / @vw);
                    text-align: center;
                    line-height: (28 / @vw);
                    color: #fff;
                    font-size: (14 / @vw);
                }
             }
          // 文字
          .txt {
              font-size: (14 / @vw);
            }
        }
    }
}
// 下载
.download {
    position: fixed;
    left: (20 / @vw);
    bottom: (30 / @vw);
    display: flex;
    align-items: center;
    padding: 0 (10 / @vw) 0 (15 / @vw);
    width: (345 / @vw);
    height: (45 / @vw);
    background-color: #fff;
    border-radius: (20 / @vw);
    img {
        margin-right: (10 / @vw);
        width: (36 / @vw);
        height: (36 / @vw);
    }
    p {
        flex: 1;
        font-size: (14 / @vw);
    }
    span {
        width: (34 / @vw);
        height: (34 / @vw);
        background-color: #f3f2f2;
        border-radius: 50%;
        text-align: center;
        line-height: (34 / @vw);
        font-size: (16 / @vw);
    }
}